package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.model.Result;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;


public interface StoreService {

    Result<Void> insertStore(StoreParam param);

    Result<PageResult<StoreVO>> getAllstore(StoreQuery query);

    Result<PageResult<StoreVO>> getStoreByCity(AreaStoreQuery query);


    Result<Void> deleteStore(Long id);


    Result<StoreVO> selectStore(Long id);

    Result<Void> updateStore(StoreParam param);

    Result<Void> enableStore(Long id);
}
